home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 January
/
Macworld (1998-01).dmg
/
Shareware World
/
Utilities
/
Data & Time Management
/
ProMaker-Utils-1.0.2
/
Sample nested if v2
< prev
next >
Wrap
Text File
|
1997-06-25
|
526b
|
19 lines
// Sample of a nested if statement
If [“Status(CurrentPlatform) = 1”]
Comment [“We are on the Mac”]
Show Message [“Hi, Macintosh user”]
Else
Show Message [“Hi, Windows user”]
If [“Status(CurrentMessageChoice) = 2”]
Exit Script
Else
If [“Status(CurrentFileName) = "test"”]
Go to Layout [original layout]
Else
If [“Invoice::date = Status(CurrentDate)”]
Perform Script [Sub-scripts, <unknown>]
End If
End If
End If
End If